Function: treemacs-dom-node->set-position!

treemacs-dom-node->set-position! is a byte-compiled function defined in treemacs-dom.el.

Signature

(treemacs-dom-node->set-position! SELF VALUE)

Documentation

Set position field of SELF to VALUE.

SELF: Dom Node Struct VALUE: Marker

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-dom.el
;; needed because simple declare-function for pos slot in core-utils wont properly expand via setf
(define-inline treemacs-dom-node->set-position! (self value)
  "Set `position' field of SELF to VALUE.

SELF: Dom Node Struct
VALUE: Marker"
  (inline-letevals (self value)
    (inline-quote
     (setf (treemacs-dom-node->position ,self) ,value))))